package com.csu.device.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class DeviceBinding implements Serializable {

    private static final long serialVersionUID = 1L;
    //主键
    private Integer id;
    //设备号
    private String deviceSn;
    //外键设备表id
    private Integer deviceType;
    //设备状态 0正常 1维修 2报损
    private Integer deviceState;
    //位置id 外键
    private Integer locationId;
    //备注信息
    private String remarks;
    //创建人
    private String createBy;
    //创建时间
    private Date createTime;
    //修改人
    private String updateBy;
    //修改时间
    private Date updateTime;
    //数据类型 0 床垫 1gps 2网关设备 3网关刷卡
    private Integer behaviorType;

    private Integer oneKey; //是否一键呼救


    private List<DeviceRela> binding;

    public List<DeviceRela> getBinding() {
        return binding;
    }

    public void setBinding(List<DeviceRela> binding) {
        this.binding = binding;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(String deviceSn) {
        this.deviceSn = deviceSn;
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public Integer getDeviceState() {
        return deviceState;
    }

    public void setDeviceState(Integer deviceState) {
        this.deviceState = deviceState;
    }

    public Integer getLocationId() {
        return locationId;
    }

    public void setLocationId(Integer locationId) {
        this.locationId = locationId;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getBehaviorType() {
        return behaviorType;
    }

    public void setBehaviorType(Integer behaviorType) {
        this.behaviorType = behaviorType;
    }

    public Integer getOneKey() {
        return oneKey;
    }

    public void setOneKey(Integer oneKey) {
        this.oneKey = oneKey;
    }
}
